package com.matt.foundation.vo.care;

import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

/**
 * 餐食记录
 */

@Data
public class HLSleepRecordVO extends HLCareBaseRecordVO {

    @Column(columnDefinition = " datetime COMMENT '入睡时间'")
    private Date sleepTime;

    @Column(columnDefinition = " datetime COMMENT '苏醒时间'")
    private Date wakeupTime;

    @Column(columnDefinition = " varchar(30) COMMENT '时长'")
    private String duration;

    @Column(columnDefinition = " int  COMMENT '睡眠状态评分'")
    private Integer rankVal;

    @Column(columnDefinition = " int  COMMENT '备注'")
    private String remark;
}
